package o2o.dao.PO.order;

//订单信息-使用红包记录
public class OrderRedPacketRecord {

    private Long id;// ID

    private String orderNo;//订单编号
    private String username;//用户账号

    private Long recordId;// 红包RecordId
    private Long redPacketId;//红包活动Id


    private Double price;//红包金额
    private Double shopPrice;//红包金额
    private Double platformPrice;//红包金额
    private Double priceRang;//红包使用门槛（即大于多少时才可以使用，-1不限金额）



    private Integer bossType;//活动主办方  1平台 2店铺
    private Integer packetType;//红包类型  1分享红包 2领取红包

    private String shopUsername;//主办方账号（店铺账号）
    private Long shopId;//主办方Id（店铺Id）

    private Integer gameType;//活动类型  1满减  2满赠  3首单减  4首单赠

    private Long startTime;//活动开始时间
    private Long endTime;//活动结束时间

    private Integer canEnjoyTimes;//可参加次数（-1为无限次）

    private Integer totalCounts;//红包总个数 （-1为无数个）


    private String name;//红包名称

    private int delFlag;// 是否已删除(0未删除,1已删除)
    private String createUser;// 创建者
    private Long createTime;// 创建日期 141231212423423时间戳毫秒级标识
    private String updateUser;// 最后更新着


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    public Long getRedPacketId() {
        return redPacketId;
    }

    public void setRedPacketId(Long redPacketId) {
        this.redPacketId = redPacketId;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getShopPrice() {
        return shopPrice;
    }

    public void setShopPrice(Double shopPrice) {
        this.shopPrice = shopPrice;
    }

    public Double getPlatformPrice() {
        return platformPrice;
    }

    public void setPlatformPrice(Double platformPrice) {
        this.platformPrice = platformPrice;
    }

    public Double getPriceRang() {
        return priceRang;
    }

    public void setPriceRang(Double priceRang) {
        this.priceRang = priceRang;
    }

    public Integer getBossType() {
        return bossType;
    }

    public void setBossType(Integer bossType) {
        this.bossType = bossType;
    }

    public Integer getPacketType() {
        return packetType;
    }

    public void setPacketType(Integer packetType) {
        this.packetType = packetType;
    }

    public String getShopUsername() {
        return shopUsername;
    }

    public void setShopUsername(String shopUsername) {
        this.shopUsername = shopUsername;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Integer getGameType() {
        return gameType;
    }

    public void setGameType(Integer gameType) {
        this.gameType = gameType;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Integer getCanEnjoyTimes() {
        return canEnjoyTimes;
    }

    public void setCanEnjoyTimes(Integer canEnjoyTimes) {
        this.canEnjoyTimes = canEnjoyTimes;
    }

    public Integer getTotalCounts() {
        return totalCounts;
    }

    public void setTotalCounts(Integer totalCounts) {
        this.totalCounts = totalCounts;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(int delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
}
